
import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_demo/redux/bo/user_bo.dart';
import 'package:flutter_demo/redux/store.dart';
import 'package:get/get.dart';

class CMCaseView extends GetView {

  const CMCaseView({super.key});

  @override
  Widget build(BuildContext context) {
    return OutlinedButton(onPressed: () {
      final Store store = Get.find();
      store.userScope.user.value = UserBo("小火慢炖 ${Random().nextInt(9999)}", "dfd");
    },
    child: const Text("案例页面"));
  }
}
